#include <iostream>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
using namespace std;
int main(){
  
  for(int i=0;i<3;++i){
    pid_t pid=fork();
    if(pid==0) break;
  }
  cout<<"current process' id is:"<<getpid()<<endl;
  return 0;
}
